cmake_minimum_required(VERSION 3.10)
project(toyc_compiler)

# 添加这行：设置可执行文件输出到构建目录
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})

# 添加子目录
add_subdirectory(lib)
add_subdirectory(bin)